Initiator

data class Initiator(type: String, stack: StackTrace?, url: String?, lineNumber: Double?, columnNumber: Double?, requestId: RequestId?)

Information about the request initiator.

Constructors

Initiator
Link copied to clipboard
fun Initiator(type: String, stack: StackTrace? = null, url: String? = null, lineNumber: Double? = null, columnNumber: Double? = null, requestId: RequestId? = null)

Properties

columnNumber
Link copied to clipboard
val columnNumber: Double? = null
Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
lineNumber
Link copied to clipboard
val lineNumber: Double? = null
Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
requestId
Link copied to clipboard
val requestId: RequestId? = null
Set if another request triggered this request (e.g.
stack
Link copied to clipboard
val stack: StackTrace? = null
Initiator JavaScript stack trace, set for Script only.
type
Link copied to clipboard
val type: String
Type of this initiator.
url
Link copied to clipboard
val url: String? = null
Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.

Sources

jvm source
Link copied to clipboard